Repository navigation
[CU-1k5fpdaa5gp] Add workbench runs orchestrate: the server groups samples into runs - #201
Open
mpanik-dnastack wants to merge 3 commits into
Open
mpanik-dnastack wants to merge 3 commits into
mpanik-dnastack wants to merge 3 commits into
Conversation
…mples into runs Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ng-preset error, test the command Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: https://app.clickup.com/t/1k5fpdaa5gp (ticket 2 of epic 1k5fpdaa5gj).
A new command submits a sample selection the way Workbench does. It posts a flat list of samples to ewes
POST /{ns}/ga4gh/wes/v1/runs/orchestrate; the server groups them, reuses earlier runs and links prerequisites.--workflow,--version,--sample(repeat),--storage-account,--engine,--engine-params,--tags,--dry-run,--no-ingest-variants.--dry-runasks the server for a preview and creates nothing. (Onruns submitthe same flag means "print the request, call nothing"; that command is unchanged.)--engine-params: the command sends the engine id plus the engine's default preset values, as the browser does. No default preset: the engine id only.ingest_variantsis not sent: the server decides from the workflow'stertiarylabel.--no-ingest-variantssendsfalsefor the named workflow, not its prerequisites.sample_groups.runs submitandsubmit_batchare not changed; their tests pass unedited.Release only after the ewes change that adds
samplesanddry_runto orchestrate is in production: an older ewes ignoresdry_runand would create the runs.--tagstakes a JSON object; without it notagsfield is sent.Tests: request shape (no
ingest_variants, nosample_groups,falsewith the flag, storage account on every sample), engine parameter and preset cases,--engine, no default engine, storage account resolution, tags, the full printed response, 422/503 output and exit code, client URL and body. The four changed test files: 64 passed.ruff check dnastack: clean.🤖 Generated with Claude Code